package com.mzz.behavior.middleclass.mediator;

/**
 *
 * @author xushijian
 * @date 18/5/16
  下午2:54
 */
public abstract class User {

    private Mediator mediator;

    public Mediator getMediator() {
        return mediator;
    }

    public User(Mediator mediator) {
        this.mediator = mediator;
    }

    //具体工作，交给实现类实现
    public abstract void work();
}
